package main

import (
	"log"
	"net/http"

	"gorestfulx/router"

	"github.com/emicklei/go-restful/v3"
)

func main() {
	container := restful.NewContainer()
	for _, iRouter := range router.InitRouterx() {
		iRouter.InitRoute(container)
	}
	log.Fatal(http.ListenAndServe(":8080", nil))
}
